const arr = ['a', 'b', 'c'];
arr.test = 'test';

console.log(Object.keys(arr)); 
console.log(Object.getOwnPropertyNames(arr));  // ['0', '1', '2', 'test']
console.log(isNaN('1') )